#ifndef MAINWINDOW_H
#define MAINWINDOW_H

#include <QMainWindow>
#include <QListWidgetItem>

class TableWidgetForm;

namespace Ui {
class MainWindow;
}

class MainWindow : public QMainWindow
{
    Q_OBJECT

public:
    explicit MainWindow(QWidget *parent = nullptr);
    ~MainWindow();
private slots:
    //ListWidget 点击Item
    void SlotItemChanged(QListWidgetItem *current, QListWidgetItem *previous);
    //保存
    void SlotBtnSave();
    //退出
    void SlotBtnExit();
private:
    void ReadBIConfig();
    void InitUI();
    void InitListWidget();
private:
    Ui::MainWindow *ui;
    QMap<int, QList<TableWidgetForm*>> m_pTableWidgetFormMap;
};

#endif // MAINWINDOW_H
